﻿@model etracks.Web.ResourceRegistrationViewModel

@using (Html.BeginForm("Edit", "Resource", FormMethod.Post, new { @class = "form-horizontal" }))
{
    <div class="form-group">
        <h3 class="col-sm-offset-2 col-sm-8">Edit Resource</h3>
    </div>
    
    @Html.Partial("Resource_InputFormPartial", Model)

    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-8">
            <button type="submit" class="btn btn-default">Save changes</button>

            @Html.ActionLink("Resource List", "List", "Resource", null, new { @class = "btn btn-default" })

            <a href="#" class="btn btn-primary">
                <span class="glyphicon glyphicon-chevron-left"></span> Back
                <span class="glyphicon glyphicon-chevron-right"></span> Forward
            </a>
        </div>
    </div>
}